import Axios from "axios";

const runCallback = (callback)=>{
    callback()
}

const createObject = (newObject)=>{
    return new newObject()
}

const getData = ()=>{
    return Axios.get('/api')
}

export {
    runCallback,
    createObject,
    getData
}